package com.defangit.award.extend.wxmp;

import com.defangit.award.extend.point.OrmMappingEp;

import java.io.InputStream;
import java.util.Arrays;
import java.util.List;

/**
 * Created by zhangfagen on 2019/1/9.
 */
public class WxmpMappings extends OrmMappingEp {
    @Override
    public List<InputStream> extraMappings() {
        return Arrays.asList(
                getClass().getClassLoader().getResourceAsStream("wxmp_userInfo.hbm.xml"),
                getClass().getClassLoader().getResourceAsStream("awardUser.hbm.xml"),
                getClass().getClassLoader().getResourceAsStream("wxmp_user.hbm.xml"),
                getClass().getClassLoader().getResourceAsStream("wxmp_userGift.hbm.xml")
        );
    }
}
